package com.fortune.vo.cOrder;

import io.swagger.annotations.ApiModelProperty;

import javax.xml.crypto.Data;
import java.math.BigDecimal;

public class COrderDetail {
    @ApiModelProperty(example = "厂商id")
    private String mid;
    @ApiModelProperty(example = "商品id")
    private String productId;
    @ApiModelProperty(example = "优惠政策id")
    private String mcdid;
    @ApiModelProperty(example = "商品名称")
    private String name;
    @ApiModelProperty(example = "规格名称")
    private String specificationName;
    @ApiModelProperty(example = "单位名称")
    private String unitName;
    @ApiModelProperty(example = "商品单价")
    private BigDecimal unitPrice;
    @ApiModelProperty(example = "商品数量")
    private float totalOrderNum;
    @ApiModelProperty(example = "商品钱数")
    private BigDecimal totalMoney;
    @ApiModelProperty(example = "回空箱数")
    private float backBoxNum;
    @ApiModelProperty(example = "押金金额")
    private float totalDprice;

    public String getMid() {
        return mid;
    }

    public void setMid(String mid) {
        this.mid = mid;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getMcdid() {
        return mcdid;
    }

    public void setMcdid(String mcdid) {
        this.mcdid = mcdid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSpecificationName() {
        return specificationName;
    }

    public void setSpecificationName(String specificationName) {
        this.specificationName = specificationName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public float getBackBoxNum() {
        return backBoxNum;
    }

    public void setBackBoxNum(float backBoxNum) {
        this.backBoxNum = backBoxNum;
    }

    public float getTotalDprice() {
        return totalDprice;
    }

    public void setTotalDprice(float totalDprice) {
        this.totalDprice = totalDprice;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public float getTotalOrderNum() {
        return totalOrderNum;
    }

    public void setTotalOrderNum(float totalOrderNum) {
        this.totalOrderNum = totalOrderNum;
    }

    public BigDecimal getTotalMoney() {
        return totalMoney;
    }

    public void setTotalMoney(BigDecimal totalMoney) {
        this.totalMoney = totalMoney;
    }

    @Override
    public String toString() {
        return "COrderDetail{" +
                "mid='" + mid + '\'' +
                ", productId='" + productId + '\'' +
                ", mcdid='" + mcdid + '\'' +
                ", name='" + name + '\'' +
                ", specificationName='" + specificationName + '\'' +
                ", unitName='" + unitName + '\'' +
                ", unitPrice=" + unitPrice +
                ", totalOrderNum=" + totalOrderNum +
                ", totalMoney=" + totalMoney +
                ", backBoxNum=" + backBoxNum +
                ", totalDprice=" + totalDprice +
                '}';
    }
}
